package com.lap.generator.domain.valueobject;

public record ModelType(JavaType javaType, String min, String max) {

  public static ModelType of(String javaType, String min, String max) {
    return new ModelType(JavaType.createNew(javaType), min, max);
  }
}
